export interface ruleParams {
  name: string;
  routeLinkKeys: string[];
}
export interface ruleItem {
  //链路路由规则表id
  id: number;
  //规则名
  name: string;
  priority: number;
  routeLinkName: string;
  status: boolean;
  showStatus: string;
}
export interface routeLinkItem {
  key: string;
  value: string;
}
export interface matchTable {
  key: string;
  matchType: string;
  value: string;
}
export interface createParams {
  description: string;
  match: matchTable[];
  name: string;
  priority: number;
  routeLinkKey: string;
  routeLinkName: string;
  routeLinkRuleId: number;
  status: boolean;
  showStatus: string;
  unionMode: string;
  weight: number;
}

export interface editParams {
  description: string;
  match: matchTable[];
  name: string;
  priority: number;
  routeLinkKey: string;
  routeLinkName: string;
  routeLinkRuleId: number;
  status: boolean;
  showStatus: string;
  unionMode: string;
  weight: number;
}
export interface detailParams {
  routeLinkRuleId: number;
}
export interface detailItem {
  description: string;
  match: matchTable[];
  name: string;
  priority: number;
  routeLinkKey: string;
  routeLinkName: string;
  routeLinkRuleId: number;
  status: boolean;
  showStatus: string;
  unionMode: string;
  weight: number;
}
export interface enableParams {
  description: string;
  match: matchTable[];
  name: string;
  priority: number;
  routeLinkKey: string;
  routeLinkName: string;
  routeLinkRuleId: number;
  status: boolean;
  showStatus: string;
  unionMode: string;
  weight: number;
}
